package com.xy.biz.rs.domain.req;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Author wwj
 * @Date 2021/4/9
 */
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
public class UpdateRecordTemplateRequest {
    @NotNull
    private Long recordTemplateId;
    /**
     * 文档Id
     */
    @NotNull
    private Long documentId;
    /**
     * 文档名称
     */
    @NotBlank
    private String documentName;
    /**
     * 版本号
     */
    @NotBlank
    private String version;
    /**
     * 接收部门id
     */
    private List<Long> userGroupIdList;
}
